if(!oPlayer.aboveGround){
    image_yscale=(-y/sprite_get_height(sprite_index));
}else{
    image_yscale=(room_height-y)/sprite_get_height(sprite_index);
}

